<%@page contentType="text/html"%>
<%@page pageEncoding="UTF-8"%>


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>menu principal</title>
       <link rel="stylesheet" type="text/css" href="background.css" />  
       <%--  <link rel="stylesheet" type="text/css" href="http://10.130.0.12/themes/cofares.css" /> --%>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>JSP Page</title>

        <jsp:useBean id="pcp" class="bean.PrepClean" scope="application" />
     

        <jsp:useBean id="param" class="datapackage.AnCeBean" scope="session" />
        <jsp:setProperty  name="param" property="*"/>

        <%--le conflit est recuperer dans une session bean     ----%>
        <jsp:useBean id="ipb" class="datapackage.IntituleProfBean" scope="session" />

    </head>
    <body>
        
          <table width="100%">
             <form action="cleanpage.jsp" method="post">
               <tr>
                    <td class="title">
                        Annee
                    </td>
                    <td class="title">
                        Centre
                    </td>
                    <td class="title">
                        Specialite
                    </td>
                    <td class="title">
                    Gradeaff
                    </td>
                    <td class="title">
                    Bienvenue:
                    <%if(param.getPrenomnomchef()!=null)out.println(param.getPrenomnomchef());
                      if(param.getPrenomnomEmp()!=null)  out.println(param.getPrenomnomEmp());
                      %>
                    <a href="logoutServlet" > Logout</a>
                    </td>
                </tr>
                <tr>
                    <td  valign="top" >
                       
                        <%= pcp.choixAnnee(param.getAnnee())%>
                    </td>
                    <td valign="top">
                        
                        <%= pcp.choixCentre(param)%>

                    </td>
                    <td valign="top" >
                        
                        <%= pcp.choixSpecialite(param)%>
                    </td>
                    <td  valign="top" >
                        
                        <%= pcp.choixGradef(param)%>
                    </td>

                    <td>
                        
                    </td>
            </tr>
            </form>
           
           </table>

           <table>
             <form action="langueServlet" method="post">
              <tr><td> <%= pcp.choixLangue(param)%></td></tr>
             </form>
           </table>
           
           <table>
             <form action="matspecServlet" method="post">
                 <tr><td> <%= pcp.choixMatspec(param)%></td></tr>
             </form>
           </table>
    </body>
</html>
